package b4.view.component.town
{
	import as3isolib.geom.Pt;
	
	public class PathNode
	{
		//节点位置
		public var point:Pt;
		//当前的代价
		public var currentCost:int;
		//预估代价
		public var heuristicCost:int;
		//总代价
		public var finalCost:int;
		//父节点
		public var father:PathNode;
		
		public function PathNode(point:Pt, currentCost:int, heuristicCost:int, finalCost:int, father:PathNode)
		{
			this.point = point;
			this.currentCost = currentCost;
			this.heuristicCost = heuristicCost;
			this.finalCost = finalCost;
			this.father = father;
		}

	}
}